// Copyright (C) ZHENG Zhong <heavyzheng nospam-at gmail D0T com>
//
// $Id: sys_env_dummy.hpp 229 2008-09-15 13:39:09Z heavyzheng $
//

#ifndef ZZHENG_UTILITY_SYS_ENV_DUMMY_HPP_20080703__
#define ZZHENG_UTILITY_SYS_ENV_DUMMY_HPP_20080703__

#include <zzheng/config.hpp>
#include <cassert>
#include <string>

#ifndef DOXYGEN_SHOULD_SKIP_THIS

namespace zzheng {
namespace sys {
namespace detail {

    inline
    char path_sep_char() {
        assert(! "path_sep_char() not implemented: platform cannot be determinated.");
        return ':'; // return the UNIX-style path separator character.
    }

    inline
    char file_sep_char() {
        assert(! "file_sep_char() not implemented: platform cannot be determinated.");
        return '/'; // return the UNIX-style file separator character.
    }

    inline
    std::string get_sys_var(const std::string&) {
        assert(! "get_sys_var() not implemented: platform cannot be determinated.");
        return std::string();
    }

    inline
    bool set_sys_var(const std::string&, const std::string&) {
        assert(! "set_sys_var() not implemented: platform cannot be determinated.");
        return false;
    }

} // namespace zzheng::sys::detail
} // namespace zzheng::sys
} // namespace zzheng

#endif // !DOXYGEN_SHOULD_SKIP_THIS

#endif // ZZHENG_UTILITY_SYS_ENV_DUMMY_HPP_20080703__



